import java.util.*;

public class ComplexPricing implements ISalePricing{

	protected List<ISalePricing> pricings = new LinkedList<ISalePricing>();
	
	
	public void add(ISalePricing pricing){
		if(pricing==null)
			throw new NullPointerException();
		pricings.add(pricing);
	}
	
	public double getTotal(Sale s){
		return 0;
	}

	
}
